import request from "@/utils/request.js";

// 获取就诊档案
export function list(data) {
  return request.post('bh/patient/list',data,{sign:true});
}

// 创建就诊档案
export function create(data) {
  return request.post('bh/patient/create',data);
}

// 更新门诊号
export function updateClinicNo(data) {
  return request.post('bh/patient/updateClinicNo',data,{sign:true});
}

// 删除就诊档案
export function del(data) {
  return request.post('bh/patient/delete',data,{sign:true});
}


// 就诊档案
export function detail(data) {
  return request.post('bh/patient/detail',data,{sign:true});
}

// 获取电子健康卡配置
export function eHealthCfg(data) {
  return request.post('bh/patient/eHealth/cfg',data,{sign:true});
}

// 获取电子健康码
export function eHealthList(data) {
  return request.post('bh/patient/eHealth/list',data,{sign:true});
}

export function eHealthDetail(data) {
  return request.post('bh/patient/eHealth/detail',data,{sign:true});
}

// 获取电子健康卡信息
export function eHealthInfo(data) {
  return request.post('bh/patient/eHealth/code',data,{sign:true});
}

// 获取电子健康卡实人认证生成orderId
export function getUniformVerifyOrder(data) {
  return request.post('bh/patient/eHealth/registerUniformVerifyOrder',data,{sign:true});
}


// 电子健康卡实人认证结果查询
export function checkUniformVerifyResult(data) {
  return request.post('bh/patient/eHealth/checkUniformVerifyResult',data,{sign:true});
}

export function takeMsCard(data) {
  return request.post('bh/patient/eHealth/takeMsCard',data,{sign:true});
}

